package com.sjsu.CMPE226.etl.exceptions;

/**
 * 
 * @author Deepali Pawar
 * 
 */
public class UnsupportedFileExtensionException extends
		WeatherCustomFileHandleExceptions// extends Exception{
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	String exceptionMsg;

	public UnsupportedFileExtensionException(String eMsg) {
		super(eMsg);
		this.exceptionMsg = eMsg;
	}

	public String getExceptionMsg() {
		return this.exceptionMsg;
	}

	@Override
	public String toString() {
		return "Unsupported file extension" + ":" + exceptionMsg;
	}
}
